package com.lnsf.bookstore.web.user.dao;

import com.lnsf.bookstore.common.dao.BaseDao;
import com.lnsf.bookstore.system.user.vo.User;
import com.lnsf.bookstore.web.user.vo.ApiUser;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface ApiUserMapper extends BaseDao<ApiUser>{

    ApiUser queryByOpenId(@Param("openId") String openId);

    int updateMoney(Map<String,Object> map);
}